/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-04-12
 * Time: 19:14
 */
public class Test {
    public static void main(String[] args) {
        int[] array = new int[]{27,15,19,18,28,34,65,49,25,37};
        PriorityQueue priorityQueue = new PriorityQueue();
        for (int i = 0; i < array.length; i++) {
            priorityQueue.push(array[i]);
        }
        priorityQueue.pollHeap();
    }
}
